<?php

class view {

	public function Initalize($action=false)
	{
		$themeDir = $config->Read('main','themeDir');

		if ($action == true)
		{
			$themeFile = $config->Read('main','themeFile');
			require_once("Themes/{$themeDir}/{$themeFile}");
		} else {
			$themeLogin = $config->Read('main','themeLogin');
			require_once("Themes/{$themeDir}/{$themeLogin}");
		}
			
	}

}

$view = new view();

?>
